package com.iotechn.unimall.data.dto.userCard;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;

import java.util.List;

@Data
public class UserCardDetailedExcel {

    private Long userId;
    @Excel(name = "用户名", needMerge = true)
    private String userName;
    @Excel(name = "会员卡号", needMerge = true)
    private String cardNo;
    /** 期初余额 */
    @Excel(name = "期初余额", needMerge = true)
    private Float startBalance;
    /** 充值金额 */
    @Excel(name = "充值金额", needMerge = true)
    private Float rechargePrice;
    /** 门店消费 */
    @ExcelCollection(name = "门店消费", orderNum = "4")
    private List<UserStoreConsume> userStoreConsumes;
    /** 期末余额 */
    @Excel(name = "期末余额", needMerge = true)
    private Float endBalance;
}
